<div class="acsgp_body_menu acsgp_body_menu_selected">{elang m=admin s=acsgp t=List}</div>
<div style="clear:both;"></div>
<br />

<form method="post">

<table cellpadding="0" cellspacing="0" class="admin_table">
 <tr>
  <th>{elang m=admin s=acsgp t=Name}</th>
  <th>{elang m=admin s=acsgp t='For access'}</th>
  <th>{elang m=admin s=acsgp t=Actions}</th>
 </tr>
 
 {foreach from=$installed_modules key=key item=module}
  <tr>
   <td{if $key/2==$key/2|round} class="admin_table_td_zebra"{/if}>{$module.module_name}</td>
   <td{if $key/2==$key/2|round} class="admin_table_td_zebra"{/if}>
    <select name="module[{$module.id}][access]">
     {if $module.access == NULL}<option>{elang m=admin s=acsgp t='DEACTIVATED'}</option>{/if}
     {foreach from=$access_names key=key item=acs}
     <option value="{$acs.access}"{if $module.access == $acs.access} selected="selected"{/if}>{$acs.name}</optin>
 	 {/foreach}
    </select>
   </td>
   <td{if $key/2==$key/2|round} class="admin_table_td_zebra"{/if}>
    <input type="checkbox" name="module[{$module.id}][active]"{if $module.active == 1} checked="checked"{/if} />
    {if $module.accessMap == true}
     <a href="?acsMap={$module.module_name}">{elang m=admin s=acsgp t="Access map"}</a>
    {/if}
   </td>
  </tr>
 {/foreach}
 
</table><br />

<input type="submit" value="{elang m=admin s=acsgp t=Submit}" />
<input type="hidden" name="submit" value="true" />
</form>